<?php
namespace StarCloud\Library;

use phpseclib3\Crypt\RSA;

class RSAClient
{
    public function createKey($bit = 2048)
    {
        $privateKey = RSA::createKey($bit);
        echo $privateKey->getPublicKey();
        echo '<br />';
        echo $privateKey;
        return [
        ];
    }
}